package com.mchsdk.paysdk.jni;

public class MCHKeyTools {
	private static final String TAG = "mchTools";
	private static MCHKeyTools mt = null;
	private MCHKeyTools() {
		System.loadLibrary("mchpaysdk");
		natInit();
	}

	public static MCHKeyTools getInstance() {
		if (null == mt) {
			mt = new MCHKeyTools();
			return mt;
		} else {
			return mt;
		}
	}
	/** 初始化,设置默认的对称加密的key gnauhcgnem */
	public native void natInit();

	/** 将加密之后的字符串进行解密 **/
	public native String secToNor(String secStr);
}